<!DOCTYPE html>
<html>

<head>
  <title></title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="../bootstrap-5.1.3-dist/css/bootstrap.css" rel="stylesheet">
  <script src="../bootstrap-5.1.3-dist/js/bootstrap.bundle.min.js"></script>
</head>

<body class="container">
  <h2 align="center">文本的对齐方式</h2>
  <div>
    <div class="card-header text-start ">页眉(左对齐)</div>
    <div class="card-body text-center ">卡片的主体(居中对齐)</div>
    <div class="card-footer text-end ">页脚(右对齐)</div>
  </div>
</body>

</html>